package cn.kgc.pojo.hotel;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 酒店订单表
 */
public class ItripHotelOrder {
    private Long id;//酒店订单id

    private Long userid;//用户 ID

    private Long ordertype;//订单类型(0:旅游产品 1:酒店产品 2：机票产品)

    private String orderno;//订单编号

    private String tradeno;//交易编号

    private Long hotelid;//酒店 ID

    private String hotelname;//酒店名称

    private Long roomid;//酒店房间 ID

    private Long count;//预订房间数量

    private Short bookingdays;//预订天数

    private Date checkindate;//入住日期

    private Date checkoutdate;//退房日期

    private Short orderstatus;//订单状态（0：待支付 1:已取消 2:支付成功3:已消费）

    private BigDecimal payamount;//支付金额

    private Short paytype;//支付类型（支付方式:1:支付宝 2:微信 3: 到店付）

    private String noticephone;//联系电话

    private String noticeemail;//联系邮件

    private String specialrequirement;//特殊要求

    private Short isneedinvoice;//是否需要发票（0：不需要 1：需要）

    private Short invoicetype;//发票类型（0：个人 1：公司）

    private String invoicehead;//发票抬头

    private String linkusername;//联系人姓名

    private Short booktype;//0:WEB 端  1:其他客户端

    private Date creationdate;//创建日期

    private Long createdby;//创建人

    private Date modifydate;//修改日期

    private Long modifyby;//修改人

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserid() {
        return userid;
    }

    public void setUserid(Long userid) {
        this.userid = userid;
    }

    public Long getOrdertype() {
        return ordertype;
    }

    public void setOrdertype(Long ordertype) {
        this.ordertype = ordertype;
    }

    public String getOrderno() {
        return orderno;
    }

    public void setOrderno(String orderno) {
        this.orderno = orderno == null ? null : orderno.trim();
    }

    public String getTradeno() {
        return tradeno;
    }

    public void setTradeno(String tradeno) {
        this.tradeno = tradeno == null ? null : tradeno.trim();
    }

    public Long getHotelid() {
        return hotelid;
    }

    public void setHotelid(Long hotelid) {
        this.hotelid = hotelid;
    }

    public String getHotelname() {
        return hotelname;
    }

    public void setHotelname(String hotelname) {
        this.hotelname = hotelname == null ? null : hotelname.trim();
    }

    public Long getRoomid() {
        return roomid;
    }

    public void setRoomid(Long roomid) {
        this.roomid = roomid;
    }

    public Long getCount() {
        return count;
    }

    public void setCount(Long count) {
        this.count = count;
    }

    public Short getBookingdays() {
        return bookingdays;
    }

    public void setBookingdays(Short bookingdays) {
        this.bookingdays = bookingdays;
    }

    public Date getCheckindate() {
        return checkindate;
    }

    public void setCheckindate(Date checkindate) {
        this.checkindate = checkindate;
    }

    public Date getCheckoutdate() {
        return checkoutdate;
    }

    public void setCheckoutdate(Date checkoutdate) {
        this.checkoutdate = checkoutdate;
    }

    public Short getOrderstatus() {
        return orderstatus;
    }

    public void setOrderstatus(Short orderstatus) {
        this.orderstatus = orderstatus;
    }

    public BigDecimal getPayamount() {
        return payamount;
    }

    public void setPayamount(BigDecimal payamount) {
        this.payamount = payamount;
    }

    public Short getPaytype() {
        return paytype;
    }

    public void setPaytype(Short paytype) {
        this.paytype = paytype;
    }

    public String getNoticephone() {
        return noticephone;
    }

    public void setNoticephone(String noticephone) {
        this.noticephone = noticephone == null ? null : noticephone.trim();
    }

    public String getNoticeemail() {
        return noticeemail;
    }

    public void setNoticeemail(String noticeemail) {
        this.noticeemail = noticeemail == null ? null : noticeemail.trim();
    }

    public String getSpecialrequirement() {
        return specialrequirement;
    }

    public void setSpecialrequirement(String specialrequirement) {
        this.specialrequirement = specialrequirement == null ? null : specialrequirement.trim();
    }

    public Short getIsneedinvoice() {
        return isneedinvoice;
    }

    public void setIsneedinvoice(Short isneedinvoice) {
        this.isneedinvoice = isneedinvoice;
    }

    public Short getInvoicetype() {
        return invoicetype;
    }

    public void setInvoicetype(Short invoicetype) {
        this.invoicetype = invoicetype;
    }

    public String getInvoicehead() {
        return invoicehead;
    }

    public void setInvoicehead(String invoicehead) {
        this.invoicehead = invoicehead == null ? null : invoicehead.trim();
    }

    public String getLinkusername() {
        return linkusername;
    }

    public void setLinkusername(String linkusername) {
        this.linkusername = linkusername == null ? null : linkusername.trim();
    }

    public Short getBooktype() {
        return booktype;
    }

    public void setBooktype(Short booktype) {
        this.booktype = booktype;
    }

    public Date getCreationdate() {
        return creationdate;
    }

    public void setCreationdate(Date creationdate) {
        this.creationdate = creationdate;
    }

    public Long getCreatedby() {
        return createdby;
    }

    public void setCreatedby(Long createdby) {
        this.createdby = createdby;
    }

    public Date getModifydate() {
        return modifydate;
    }

    public void setModifydate(Date modifydate) {
        this.modifydate = modifydate;
    }

    public Long getModifyby() {
        return modifyby;
    }

    public void setModifyby(Long modifyby) {
        this.modifyby = modifyby;
    }
}